<template>
  <div>
    <h1>我是一级路由展示登录成功{{ userStore.username }}</h1>
  </div>
</template>

<script setup lang="ts">
// 引入组合式api 生命周期函数
import useUserStore from '@/store/modules/user'
let userStore = useUserStore()
</script>

<style scoped></style>
